# def power(x,y=2):
#     return (x ** y)
#
#
# num = int(input('请输入要求幂的数字：'))
# mi = int(input('请输入求幂的次数：'))
# result=power(num,mi)
# print("%s的%s次幂是%s"%(num,mi,result))
#
# def gcd(x,y):
#     z=x%y
#     while z!=0:
#         temp=z
#         z=y%z
#         y=temp
#     return y
# print(gcd(2560,12245))

def conver(x):
    result = []
    while x!=0:
        result.append(x%2)
        x=x//2
    result.reverse()
    z = ""
    for y in result:
        y=str(y)
        z +=y
    return z
jieguo=conver(69)
print(jieguo)
print(type(jieguo))